﻿using System.ServiceModel;
using Framework.Wcf.ServiceContract;

namespace Framework.Wcf.ServiceImplementation
{
    public class Pouet : IPouet
    {
        public Toto HelloWorld()
        {
            return new Toto {Name = "sfgdfg"};
        }


        public Toto HelloWorldException()
        {
            throw new FaultException<MyFault>(new MyFault {Info = "aie"});
        }
    }
}